@import "./style/modal.less";
@import "./style/baseInfoForm.less";
@import "./style//toast.less";

body {
    margin: 0;
    background: linear-gradient(
        rgb(203, 219, 255),
        rgb(255, 255, 255),
        rgba(255, 255, 255, 0.2)
    );
    background-repeat: no-repeat;
}
#uploadForm {
    max-width: 1280px;
    margin: 15px auto;
}

.upload-wrapper {
    margin-bottom: 25px;
    > .title {
        font-weight: 700;
        font-size: 20px;
        margin-bottom: 8px;
    }
    > .board {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
        padding: 15px;
        display: flex;
        > .file-upload-instruct {
            width: 453px;
            height: 143px;
            border: 1px dotted #d9d9d9;
            border-radius: 16px;
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            > .instruct {
                display: flex;
                flex-flow: column;
                justify-content: center;
                align-items: center;
                > .file-icon {
                    width: 22px;
                    height: 22px;
                    margin-bottom: 18px;
                    > img {
                        width: 100%;
                    }
                }
                > .title {
                    font-size: 16px;
                    font-weight: 700;
                    color: rgba(0, 0, 0, 0.85);
                    line-height: 24px;
                    margin-bottom: 4px;
                }
                > .support-ext {
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 22px;
                    color: rgba(0, 0, 0, 0.45);
                }
            }
            >#upload-status {
                display: flex;
                flex-flow: column;
                justify-content: center;
                align-items: center;
                >.status {
                    color: rgba(0, 0, 0, 0.45);
                }
            }
        }
        > .file-intro {
            flex-grow: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            > ul {
                margin: 0;
                padding: 0;
                > li {
                    margin: 0;
                    padding: 0;
                    font-weight: 400;
                    font-size: 14px;
                    color: rgb(136, 145, 174);
                    line-height: 30px;
                    list-style: none;
                }
            }
            > .fill-basic-info {
                background: rgb(67, 24, 255);
                width: 108px;
                height: 36px;
                border-radius: 70px;
                border: none;
                color: #fff;
                font-weight: 500;
                font-size: 14px;
                line-height: 1;
                justify-content: center;
                align-items: center;
                display: flex;
                cursor: pointer;
            }
        }
    }
}
.censor-wrapper {
    display: flex;
    align-items: stretch;
    > .censor-type {
        width: 469px;
        display: flex;
        flex-direction: column;
        > .title {
            font-size: 20px;
            font-weight: 700;
            line-height: 29px;
            margin-bottom: 11px;
        }
        > .select-censor-type {
            flex-grow: 1;
            background: #fff;
            border-radius: 16px;
            padding: 12px;
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
            > .item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                line-height: 42px;
                padding: 0 12px;
                border-radius: 16px;
                cursor: pointer;
                &:hover {
                    background-color: rgba(0, 0, 0, 0.05);
                }
                &.selected {
                    background-color: rgba(0, 0, 0, 0.05);
                    > .text {
                        color: rgb(0, 0, 0);
                    }
                }
                > .text {
                    font-size: 15px;
                    color: rgb(136, 145, 174);
                    font-weight: 500;
                    user-select: none;
                }
                > .icon {
                    width: 20px;
                }
            }
        }
    }
    > .censor-result {
        flex: 1;
        margin-left: 29px;
        display: flex;
        flex-direction: column;
        > .title {
            font-size: 20px;
            font-weight: 700;
            line-height: 29px;
            margin-bottom: 11px;
        }
        >.board {
            flex-grow: 1;
            background: #fff;
            border-radius: 16px;
            padding: 12px 24px;
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: stretch;
            max-height: 420px;
            overflow-y: scroll;
        }
        > .censor-type-description {
            > .list-title {
                font-weight: 400;
                font-size: 14px;
                line-height: 26px;
                color: rgb(0, 0, 0);
            }
            > .censor-list {
                > .item {
                    line-height: 33px;
                    font-size: 14px;
                    color: rgb(136, 145, 174);
                }
            }
            >.censor-status {
                margin-top: 25px;
                color: rgba(0, 0, 0, 0.5);
            }
            > .censor-button {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-grow: 1;
                &.disabled {
                    >.button {
                        pointer-events: none;
                        background-color: rgba(0, 0, 0, 0.5);
                        cursor: not-allowed;
                    }
                }
                > .button {
                    width: 167px;
                    height: 87px;
                    border-radius: 16px;
                    background: rgb(67, 24, 255);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    > .icon {
                        width: 22px;
                        height: 25px;
                        margin-bottom: 5px;
                        > img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                    > .text {
                        color: #fff;
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 30px;
                    }
                }
            }
        }
    }
}
.hide {
    display: none;
}

.inline {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#upload-status {
    margin-left: 15px;
}
.button-wrap {
    display: flex;
    > button {
        margin-right: 15px;
    }
}
